#include "setting.h"
#include "log.h"
#include <thread>
#include <chrono>

int main() {
    set_logger(lib_wrapper::LogLevel::Debug);
    for (int i = 0; i < 5; ++i) {
        LOG(debug, "Logger: Debug message {} (won't be logged)", i);
        LOG(info, "Logger: Info message {}", i);
        LOG(error, "Logger: Error message {}", i);
        std::this_thread::sleep_for(std::chrono::milliseconds(100));
    }

    return 0;
}
